package cn.tedu.service;/**
 * @Author 金帮嘉诚 @Date 2021-07-20 星期二 15:49
 */
/*本类用于测试*/

import cn.tedu.dao.CarDao;
import cn.tedu.pojo.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**知识点*/
@Service
public class CarServiceImpl implements CarService{
    @Autowired
    private CarDao carDao;
    @Override
    public List<Car> get() {
        return carDao.get();
    }

    @Override
    public List<Car> getByColumns(Car car) {
        return carDao.getByColumns(car);
    }
}
